/* 
 * File:   socket.h
 * Author: robbiediaz
 *
 * Created on January 27, 2009, 12:06 PM
 */

#ifndef _SOCKET_H
#define	_SOCKET_H

#include <iostream>
#include <string>
#include <vector>
#include "../model/Peer.h"

class genericSocket {
public:
    virtual void sendString(std::string msg) = 0;
    virtual std::string readString(Peer* p) = 0;
    virtual Peer* acceptConnection() = 0;
};

#endif	/* _SOCKET_H */

